package cn.humaohua.study.yanmo_design_pattern.ch05.v4;

public enum Singleton {
    INSTANCE;

    public void someMethod() {
        System.out.println("someMethod of Singleton.");
    }

    public static Singleton getInstance() {
        return INSTANCE;
    }
}
